<div id="templatemo_main_top"></div>
<div id="templatemo_main">
    <div class="col_12 float_l">
        <div id="search-widget">
            
{if 1 === 1}            
    <form action="create_account.php#create" method="post" onsubmit="document.getElementById('current_url').value=document.URL">
        <table>
            <tr>
                <td colspan="2"><label style="font-style: italic">Create an account by entering the user name and password in the form below...</label></td>
            </tr>
            <tr id="create_error">
                <td colspan="2"><label style="color:red;">{$error}</label></td>
            </tr>           
            <tr>
                <td><label>User name *</label></td>
                <td><input id="user" type="text" name="user" value="{$user}" /></td>
            </tr>
            <tr>
                <td><label>Email</label></td>
                <td><input id="email" type="text" name="email" value="{$email}" /></td>
            </tr>            
            
            <tr>
                <td>Password *</td>
                <td><input type="password" id="pass1" name="pass1" /></td>
            </tr>
            <tr>
                <td>Verify password *</td>
                <td><input type="password" id="pass2" name="pass2" /></td>
            </tr>            
            <tr>
                <td colspan="2"><label style="font-size:10px;">* fields are mandatory</label></td>
            </tr>            
            <tr>
                <td>
                    {if $userReferred === true}
                        <input name="currentPage"       type="hidden" value="{$currentPage}">
                        <input name="hotelId"           type="hidden" value="{$hotelID}">
                        <input name="supplierType"      type="hidden" value="{$supplierType}">
                        <input name="roomRateKey"       type="hidden" value="{$roomRateKey}">
                        <input name="roomRateCode"      type="hidden" value="{$roomRateCode}">
                        <input name="roomTypeCode"      type="hidden" value="{$roomTypeCode}">
                        <input name="hotelImage"        type="hidden" value="{$hotelImage}">
                        <input name="hotelName"         type="hidden" value="{$hotelName}">
                        <input name="roomDescription"   type="hidden" value="{$roomDescription}">
                        <input name="total"             type="hidden" value="{$total}">
                        <input name="averageRate"       type="hidden" value="{$averageRate}">
                        <input name="roomtotal"         type="hidden" value="{$roomtotal}"/>
                        <input name="nightlyRateTotal"  type="hidden" value="{$nightlyRateTotal}"/>
                        <input name="surchargeTotal"    type="hidden" value="{$surchargeTotal}"/>
                        <input name="currencyCode"      type="hidden" value="{$currencyCode}"/>
                    {/if}
                </td>
                <td><input style="margin-top:20px;" id="search_button" type="submit" value="create" /></td>
            </tr>
           
        </table>
        <input type="hidden" name="current_url" id="current_url" value="" />        
    </form>        
{else}  
    <div style="height:100px;">
    <label>Hello , you can proceed to your <a style="color:white;font-weight:bold;" href="underConstruction.php">account</a>.</label><br />
        <input style="margin-top:20px;float:left;" id="search_button" type="button" value="logout" onclick="document.location='login.php?logout=true'" />    
    </div>    
    
{/if}    
        </div>            
    </div>
    <div class="col_12 float_r">
    	<h2>Top Deals</h2>
        <img src="images/templatemo_image_02.jpg" alt="Image 02" class="float_l img_float_l" />
        <p><em>Check out our best hotels deals for the best touristic sites in London, San Francisco, Florida, New York, etc.</em></p>
        <p></p>
    </div>
    <div class="cleaner"></div>
</div> <!-- END of main -->
<a name="create"></a>
<script type="text/javascript">

</script>    